<template>
  <section class="personal-contianer">
      <head-top title="个人中心"></head-top>
      <div class="personal-detail">
          <router-link to="/login" class="login">
              <div class="login-left">
                  <div class="login-img">
                      <img src="../../assets/logo.png" alt="">
                  </div>
              </div>
              <div class="login-mid">
                  <div class="login-mid-detail">
                      <span>登录</span>
                      <span>/</span>
                      <span>注册</span>
                  </div>
                  <div class="login-mid-tle">
                      <i class="el-icon-mobile-phone user-icon"></i>
                      <span class="user-phone">暂时无法绑定手机号</span>
                  </div>
              </div>
              <div class="login-right">
                  <i class="el-icon-arrow-right"></i>
              </div>
          </router-link>
      </div>
      <div class="login-info">
          <div class="login-me">
              <div class="my-socket">
                  <div class="money">
                      <div>
                           <span class="money-detail">0.00</span>
                          <span>元</span>
                      </div>
                      <span class="text">我的余额</span>
                  </div>
              </div>
              <div class="my-socket">
                  <div class="money">
                      <div>
                           <span class="money-detail red">0.00</span>
                          <span>个</span>
                      </div>
                      <span class="text">我的优惠</span>
                  </div>
              </div>
              <div class="my-socket">
                  <div class="money">
                      <div >
                          <span class="money-detail green">0.00</span>
                          <span>分</span>
                      </div>
                      <span class="text">我的积分</span>
                  </div>
              </div>
          </div>
      </div>
      <div class="login-list">
          <div class="list-item">
              <i class="el-icon-s-order icon1 green"></i>
              <span>我的订单</span>
              <i class="el-icon-arrow-right icon2"></i>
          </div>
          <div class="list-item">
              <i class="el-icon-s-shop icon1 red"></i>
              <span>积分商城</span>
              <i class="el-icon-arrow-right icon2"></i>
          </div>
          <div class="list-item">
              <i class="el-icon-medal icon1 oren"></i>
              <span>外卖会员卡</span>
              <i class="el-icon-arrow-right icon2"></i>
          </div>
          <div class="list-item">
              <i class="el-icon-office-building icon1 deepgreen"></i>
              <span>服务中心</span>
              <i class="el-icon-arrow-right icon2"></i>
          </div>

      </div>
  </section>
</template>

<script>
import HeadTop from '../../components/HeadTop/HeadTop.vue'
export default {
    components:{
        HeadTop
    }
}
</script>

<style lang="less" scoped>
.personal-contianer{
    width: 100%;
    height: 100%;
    overflow: hidden;
    .personal-detail{
        height: 120px;
        width: 100%;
        background-color: lightseagreen;
        border-top: 2px solid #fff;
        margin-top: 50px;
        .login{
            display: flex;
            .login-left{
                .login-img{
                    background-color: white;
                    border-radius: 50%;
                    margin: 25px 0 5px 10px;
                    img{
                        width: 70px;
                        height: 70px;
                    }
                }
            }
            .login-mid{
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-top: 35px;
                margin-left: -40px;
                .login-mid-detail{
                    color: #fff;
                    font-size: 18px;
                    font-weight: 600px;
                }
                .login-mid-tle{
                    margin-top: 10px;
                    margin-left:60px;
                    .user-icon{
                        color: #fff;
                    }
                    .user-phone{
                        color: #fff;
                        font-size: 15px;
                    }
                }
            }
            .login-right{ 
                width: 12px;
                height: 12px;
                position: absolute;
                right: 15px;
                top: 100px;
                color: #fff;
            }
        }
    }
    .login-info{
        width: 100%;
        height: 100px;
        border-bottom: 1px solid rgb(229, 228, 228);
        .login-me{
            display: flex;
            justify-content: space-around;
            align-items: center;
            .my-socket{
                height: 100%;
                width: 33.3%;
                border-right: 1px solid rgb(232, 231, 231);
                padding-top: 30px;
                padding-bottom: 20px;
                line-height: 23px;
                .money{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                   .money-detail{
                       color: orange;
                       font-size: 30px;
                       font-weight: 700px;
                       &.green{
                           color: greenyellow;
                       }
                       &.red{
                           color: red;
                       }
                       .text{
                           padding-top: 10px;
                       }
                   } 
                }
            }
        }
    }
    .login-list{
        .list-item{
            width: 100%;
            line-height: 50px;
            display: flex;
            border-bottom: 1px solid rgb(230, 229, 229);
            .icon1{
                flex: 1;
                line-height: 50px;
                margin-left: 5px;
                font-size: 20px;
                &.green{
                    color: greenyellow;
                }
                &.red{
                    color: red;
                }
                &.oren{
                    color: orange;
                }
                &.deepgreen{
                    color: green;
                }
            }
            .icon2{
                flex: 1;
                line-height: 50px;
                color: lightgray;
            }
            span{
                flex: 10;
                font-size: 17px;
            }
        }
    }
}
</style>